package com.example.parent.bookmanage.entity;

import java.util.ArrayList;

public class Data {
    public static ArrayList<Book> getData() {
        ArrayList<Book> books = new ArrayList<>();
        books.add(new Book(1, "楚辞", "屈原", "中国文联出版社", "0"));
        books.add(new Book(2, "唐诗三百首", "蘅塘退士", "中华书局", "1"));
        books.add(new Book(3, "红楼梦", "曹雪芹", "人民文学出版社", "2"));
        books.add(new Book(4, "呐喊", "鲁迅", "人民文学出版社", "0"));
        books.add(new Book(5, "平凡的世界", "路遥", "北京十月文艺出版社", "1"));
        books.add(new Book(6, "百年孤独", "加西亚·马尔克斯", "南海出版公司", "2"));
        return books;
    }
}
